﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace anks.Lib.Logging
{
    class LoggingListenerFile : CustomLoggingListener
    {
        private StreamWriter writer;

        public override void DoLog(Logging logging, string levelName, string message)
        {
            writer.WriteLine(message);
 	    }

        public LoggingListenerFile(string path)
        {
            writer = File.CreateText(path);
        }

        
    }

}
